package day_05;

/**
 * @ClassName HomeWork05
 * @Description TODO
 * @Author hp
 * @Date 2021/6/6 17:07
 * @Version 1.0
 **/
public class HomeWork05 {
    public static void main(String[] args) {
        int k=1;
        for(int i =1;i <= 5;i++){
            for(int h=k;h>0;h--)
            {
                System.out.print(" ");
            }
            k++;
            for (int j = 6-i;j>0;j--){
                System.out.print("* ");
            }
            System.out.println();
        }

    }

}
